package com.example.employeemanagement.vo;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.sql.Date;

public class PerformanceVo {
    @NotNull(message = "员工ID不能为空")
    private Integer employeeId;
    
    @NotNull(message = "评估日期不能为空")
    private Date evaluationDate;
    
    @Min(value = 0, message = "绩效得分不能小于0")
    @Max(value = 100, message = "绩效得分不能大于100")
    private Integer score;
    
    @Size(max = 500, message = "评价内容长度不能超过500个字符")
    private String comment;
    
    // Getters and Setters
}